package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @version v1.0
 * @description: 获取通话记录的录音（通过度言API获取文件路径，最后得到.oga的路径）入参
 * @date 2019/2/21 15:50
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CallRecordDynamicDTO extends BaseDTO {

    /**
     * 话务中心平台，参考CallCenterTypeEnum
     */
    @NotNull(message = "{dto.msg.autoCommunicate.moduleType.NotNull}")
    private Integer moduleType;

    /**
     * 通话记录ID
     */
    @NotNull(message = "{dto.msg.callRecordDynamic.callLogId.NotNull}")
    private Long callLogId;

    /**
     * 客户号码
     */
    @NotBlank(message = "{dto.msg.callRecordDynamic.anotherPhoneNum.NotBlank}")
    private String anotherPhoneNum;

    /**
     * 通话时间
     */
    @NotNull(message = "{dto.msg.callRecordDynamic.callTime.NotNull}")
    private Integer callTime;
}
